package com.ssy.lingxi.order.model.vo.basic.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 作废通用InvalidVO
 * @author wyx
 * @version 2.0.0
 * @date 2022/01/04
 */
public class InvalidVO implements Serializable {
    private static final long serialVersionUID = -8356143935361734516L;

    @NotNull(message = "主键id不能为空")
    private Long id;

    @NotBlank(message = "作废原因不能为空")
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
